//
//  Dept.h
//  APJ Resource
//
//  Created by Richard Zhao on 1/27/14.
//  Copyright (c) 2014 APJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Staff;

@interface Dept : NSManagedObject

@property (nonatomic, retain) NSString * deptFullName;
@property (nonatomic) int16_t deptId;
@property (nonatomic, retain) NSString * deptShortName;
@property (nonatomic) int16_t headerStaffId;
@property (nonatomic) BOOL isActive;
@property (nonatomic, retain) NSString * lastUpdatedBy;
@property (nonatomic) NSTimeInterval lastUpdatedTime;
@property (nonatomic, retain) NSSet *staffs;
@end

@interface Dept (CoreDataGeneratedAccessors)

- (void)addStaffsObject:(Staff *)value;
- (void)removeStaffsObject:(Staff *)value;
- (void)addStaffs:(NSSet *)values;
- (void)removeStaffs:(NSSet *)values;

@end
